/*
 * Copyright (C) 2004-2007  Autodesk, Inc.
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of version 2.1 of the GNU Lesser
 * General Public License as published by the Free Software Foundation.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 */

#ifndef FDOCMSXMLGLOBALS_H
#define FDOCMSXMLGLOBALS_H

#ifdef _WIN32
#pragma once
#endif //_WIN32

namespace FdoCMSXmlGlobals
{
    static FdoString* g_CMSProviderName					    = L"OSGeo.CMS.3.5";
    static FdoString* g_CMSSchemaMapping                    = L"SchemaMapping";
    static FdoString* g_CMSClassDefinitionElement           = L"complexType";
    static FdoString* g_CMSRasterDefinition                 = L"RasterDefinition";
    static FdoString* g_CMSLayerDefinition                  = L"Layer";
    static FdoString* g_CMSStyleDefinition                  = L"Style";
    static FdoString* g_CMSImageFormat                      = L"Format";
    static FdoString* g_CMSImageFormatType                  = L"FormatType";

    static FdoString* g_CMSTransparent                      = L"Transparent";
    static FdoString* g_CMSUseTileCache                     = L"UseTileCache";
    static FdoString* g_CMSBackgroundColor                  = L"BackgroundColor";
    static FdoString* g_CMSTimeDimension                    = L"Time";
    static FdoString* g_CMSElevationDimension               = L"Elevation";
    static FdoString* g_CMSSpatialContext                   = L"SpatialContext";
    static FdoString* g_CMSTrue                             = L"true";
    static FdoString* g_CMSFalse                            = L"false";
    static FdoString* g_CMSXmlnsValue                       = L"http://fdoCMS.osgeo.org/schemas";

    // These are the CMS supported image format, before version 3.3.0. Not extend in future.    
    static FdoString* g_CMSImageFormatPng                   = L"PNG";
    static FdoString* g_CMSImageFormatTif                   = L"TIF";
    static FdoString* g_CMSImageFormatJpeg                  = L"JPEG";
    static FdoString* g_CMSImageFormatJpg                   = L"JPG";
    static FdoString* g_CMSImageFormatGif                   = L"GIF";

    // For extend the CMS supported image format in the future
    static FdoString* g_MIMEImageFormats[]                  = {
                                                                L"image/png", 
                                                                L"image/tiff",
                                                                L"image/jpeg",
                                                                L"image/gif",
                                                                NULL
                                                              };

};


#endif // FDOCMSXMLGLOBALS_H
